﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 练习
{
    class Program
    {
        static void Main(string[] args)
        {
            //第一部分的//
            const double YZl = 3.14;
            int r = 6  ;  //存放半径
            Console.WriteLine("圆的周长是：" + 2 * YZl * r);
            Console.WriteLine("圆的面积是：" + YZl * r * r);


            //第二部分的//
            string UserName = "胡歌";

            Console.WriteLine(UserName);


            //第三部分的//

            int a = 81;

            if (a >90)
            {
                Console.WriteLine("是个优秀的孩子！");
            }
            else
            {
                Console.WriteLine("你太low了!");
            }


            //第四部分的//

            Console.WriteLine("请输入厚浦IT学生考试的成绩（0~100）");
            int points = int.Parse(Console.ReadLine());
            if (points < 0 || points > 100)
            {
                points = 0;
            }
            switch (points / 10)
            {
                case 10:
                case 9:
                    Console.WriteLine("值得鼓励");
                    break;
                case 8:
                    Console.WriteLine("还行");
                    break;
                case 7:
                case 6:
                    Console.WriteLine("你考的是啥");
                    break;
                default:
                    Console.WriteLine("回家吧，养猪流！");
                    break;
            }


        }
    }
    }

